var flowEditor = null;

function init(evt){
	flowEditor = new FlowEditor(evt.target.ownerDocument);
	flowEditor.init();
}

function mouseDown(evt){
	if(evt.button == 0){//LEFT_BUTTON
		flowEditor.leftButtonDown(evt);
	}else if(evt.button == 1){//MIDDLE_BUTTON
		flowEditor.middleButtonDown(evt);
	}else{
	}
}
